projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9b2b94
)
(lunar-phase): Revised to use the rewritten and new fcns.
author
Edward M. Reingold
<reingold@emr.cs.iit.edu>
Fri, 3 Jun 1994 20:25:44 +0000
(20:25 +0000)
committer
Edward M. Reingold
<reingold@emr.cs.iit.edu>
Fri, 3 Jun 1994 20:25:44 +0000
(20:25 +0000)
lisp/calendar/lunar.el
patch
|
blob
|
history
diff --git
a/lisp/calendar/lunar.el
b/lisp/calendar/lunar.el
index 0de568e55edd2e2640bc2758a09dd82f9477022a..99a5507f7bdb5c6e429d1be88a8ffa4a18caf775 100644
(file)
--- a/
lisp/calendar/lunar.el
+++ b/
lisp/calendar/lunar.el
@@
-166,8
+166,9
@@
remainder mod 4 gives the phase: 0 new moon, 1 first quarter, 2 full moon,
(truncate date)))))
60.0 24.0)))
(time (* 24 (- date (truncate date))))
- (date (calendar-gregorian-from-absolute (truncate date))))
- (list date (solar-time-string time date) phase)))
+ (date (calendar-gregorian-from-absolute (truncate date)))
+ (adj (solar-adj-time-for-dst date time)))
+ (list (car adj) (apply 'solar-time-string (cdr adj)) phase)))
(defun lunar-phase-name (phase)
"Name of lunar PHASE.